//
//  LBScoreView.h
//  Pods
//
//  Created by luckyRoy on 2017/8/29.
//
//

#import <UIKit/UIKit.h>

typedef enum : NSUInteger {
    LBScoreViewStarTypeSmall,//小 一般列表展上
    LBScoreViewStarTypeMiddle,//中
    LBScoreViewStarTypeBig,//大
} LBScoreViewStarType;

typedef void (^LBScoreViewComplete) (CGFloat starNum);

@interface LBScoreView : UIView

- (instancetype)initWithOrigin:(CGPoint)origin
                isSupportFloat:(BOOL)isSupport
                      isEditor:(BOOL)isEdiotr
                      starType:(LBScoreViewStarType)starType
                      complete:(LBScoreViewComplete)complete;

@property (assign, nonatomic) BOOL isEditor;//default NO

- (void)setScore:(CGFloat)scoreCount animation:(BOOL)animation;

+ (CGSize)sizeOfViewByStarType:(LBScoreViewStarType)starType;

@end
